{% extends "admin/base.html" %}

{% block extrastyle %}
<style type="text/css">
	@import "/media/js/simp/dojo/resources/dojo.css";
	@import "/media/js/simp/dijit/themes/tundra/tundra.css";
	/*@import "/media/js/simp/dojox/grid/_grid/tundraGrid.css";*/
	@import "/media/js/simp/simp/simpTundra.css";
</style>
{% endblock extrastyle %}

{% block extrahead %}
<meta http-equiv="CACHE-CONTROL" content="NO-CACHE" />
<meta http-equiv="PRAGMA" content="NO-CACHE" /> 
{% googleanalytics %}
<script type="text/javascript">
var djConfig = {
	parseOnLoad: true,
	isDebug: true, 
	debugAtAllCosts: false,
	usePlainJson: true,
};
</script>
<script type="text/javascript" src="/media/js/simp/dojo/dojo.js"></script>

<script type="text/javascript">
	dojo.require("dojo.parser");
	dojo.require("dijit.form.Button");
</script>
{% endblock extrahead %}

{% block bodyclass %}tundra{% endblock %}

{% block content %}
<div id="simpDemoImageSelectArea" style="width: {{image.get_image_width}}px; margin: auto;">
	<h1>django-simp modified demo image - id: {{image.pk}}</h1>
	<p>
		{{ image.desc|safe }}
	</p>
	<img src="{{image.get_image_url}}" alt="modified demo image" />
	{% if prevId %}
	<a href="/simpdemo/gallery/view/{{prevId}}" style="float:left;">prev</a>
	{% endif %}
	{% if nextId %}
	<a href="/simpdemo/gallery/view/{{nextId}}" style="float:right;">next</a>
	{% endif %}	
	<p><a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/"><img alt="Creative Commons License" style="border-width:0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/>All <span xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://purl.org/dc/dcmitype/StillImage" rel="dc:type">images</span> are licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/">Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License</a>.<br />
</div>
{% endblock content %}
